
@echo off

set OUTPUT_DIR=%TEMP%\Output

if not exist %OUTPUT_DIR% (
	mkdir %OUTPUT_DIR%
)

clr 0E

set COMPILE_FLAGS=/O2 /Oi /GL /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE" /FD /EHsc /MD /Gy /Fo"%OUTPUT_DIR%\\" /Fd"%OUTPUT_DIR%\vc90.pdb" /W3 /TP
doskey cc=cl.exe %COMPILE_FLAGS% $*
kcmd /k "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" %*

clr 0A

:_end_
